package admin

import database "hft/Database"

type LouPanSwiper struct {
	database.Base
	Category     int    `json:"category" gorm:"comment:轮播图类型;"`
	Cover        string `json:"cover" gorm:"type:text"`
	CategoryName string `json:"categoryName,omitempty"`
	LouPanName   string `json:"louPanName,omitempty"`
	LouPanID     int    `json:"louPanId"`
	Url          string `json:"url" gorm:"type:text" gorm:"comment:地址"`
	GoUrl        string `json:"goUrl"`
	Title        string `json:"title"`
}

func (LouPanSwiper) TableName() string {
	return database.TableNameFormat("lou_pan_swiper")
}
